﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Post">
    
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Title" nillable="true" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:simpleContent msdata:ColumnName="Title_Text" msdata:Ordinal="1">
              <xs:extension base="xs:string">
                <xs:attribute use="required" name="publishDate" type="xs:dateTime" />
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="Writer" type="xs:string" />
        <xs:element name="Body" type="xs:string" />
        <xs:element name="Comments" minOccurs="0" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="comment" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="subject" type="xs:string" minOccurs="1" maxOccurs="1" msdata:Ordinal="0" />
                    <xs:element name="body" type="xs:string" minOccurs="1" maxOccurs="1" msdata:Ordinal="1" />
                  </xs:sequence>
                  <xs:attribute name="date" use="required" type="xs:dateTime" />
                  <xs:attribute name="writer" use="required" type="xs:string" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="Post" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>